package com.bdqn.t330.ch06.dao;

import com.bdqn.t330.ch06.entity.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

//UserDao userDaoImp = new UserDaoImp();
@Repository
//@Service
//@Component
public class UserDaoImp implements UserDao {
    @Override
    public void save(User user) {
        System.out.println("用户添加成功:" + user.getUname());
    }
}
